﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using MovieRental.XmlDataService;

namespace MovieRental.Entities
{
    [XmlEntity("TemporaryDiscounts")]
    [DataContract]
    public class TemporaryDiscountInfo : DiscountInfo
    {
        public TemporaryDiscountInfo(Guid id)
            : base(id)
        {
        }

        public TemporaryDiscountInfo()
            : base()
        {
        }

        [DataMember]
        public DateTime ValidUntil { get; set; }
    }
}
